//
//  Loader.h
//  Risiko
//
//  Created by Murgia Giovanni on 06/07/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Country.h"
#import "Continent.h"

@interface Loader : NSObject {
	NSSet * countries;
	NSSet * continents;
}
-(id) init;
-(id) initWithFiles:(NSString*)pathCountries :(NSString*)pathContinents;
-(NSSet*) getCountries;
-(NSSet*) getContinents;
-(Country*) getCountryByName:(NSString*)toSearch;
-(Continent*) getContinentByName:(NSString*)toSearch;
-(void) writeToFile:(NSString*) pathCountry:(NSString*) pathContinent;
@end
